package com.db.rome.monitoring.domain;

/**
 * User: gryaale
 * Date: 8/8/14
 */
public class ConnectionStatus {

    private final String connectionName;
    private final String connectionStatus;
    private final String lastHeartbeat;
    private final String lastTradeMsgInTime;
    private final String lastTradeMsgOutTime;
    private final String source;
    private final String target;
    private final String connectionType;

    public ConnectionStatus(String connectionName, String connectionStatus, String lastHeartbeat,
            String lastTradeMsgInTime, String lastTradeMsgOutTime, String source, String target,
            String connectionType) {
        this.connectionName = connectionName;
        this.connectionStatus = connectionStatus;
        this.lastHeartbeat = lastHeartbeat;
        this.lastTradeMsgInTime = lastTradeMsgInTime;
        this.lastTradeMsgOutTime = lastTradeMsgOutTime;
        this.source = source;
        this.target = target;
        this.connectionType = connectionType;
    }

    public String getConnectionName() {
        return connectionName;
    }

    public String getConnectionStatus() {
        return connectionStatus;
    }

    public String getLastHeartbeat() {
        return lastHeartbeat;
    }

    public String getLastTradeMsgInTime() {
        return lastTradeMsgInTime;
    }

    public String getLastTradeMsgOutTime() {
        return lastTradeMsgOutTime;
    }

    public String getSource() {
        return source;
    }

    public String getTarget() {
        return target;
    }

    public String getConnectionType() {
        return connectionType;
    }
}
